package com.pan.exe.impl;

import com.pan.exe.Executive;

import java.awt.*;
import java.awt.event.MouseEvent;

public class Anby4A implements Executive {
    @Override
    public void run(Robot robot) {

        System.out.println("run Anby 4 A");

        robot.mousePress(MouseEvent.BUTTON1_DOWN_MASK);
        robot.delay(100);
        robot.mouseRelease(MouseEvent.BUTTON1_DOWN_MASK);

        robot.delay(300);


        robot.mousePress(MouseEvent.BUTTON1_DOWN_MASK);
        robot.delay(100);
        robot.mouseRelease(MouseEvent.BUTTON1_DOWN_MASK);

        robot.delay(300);


        robot.mousePress(MouseEvent.BUTTON1_DOWN_MASK);
        robot.delay(100);
        robot.mouseRelease(MouseEvent.BUTTON1_DOWN_MASK);

        robot.delay(300);


        robot.mousePress(MouseEvent.BUTTON1_DOWN_MASK);
        robot.delay(800);
        robot.mouseRelease(MouseEvent.BUTTON1_DOWN_MASK);

    }
}
